package com.zzyl.mapper;

import com.zzyl.entity.live.Floor;
import com.zzyl.vo.FloorVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FloorMapper {
	
	int insert(Floor floor);
	
	int deleteById(Long id);
	
	int updateById(Floor floor);
	
	Floor selectById(Long id);
	
	List<FloorVo> selectAll();
	
	List<FloorVo> selectAllRoomAndBed();
	
	List<FloorVo> selectAllByNur();
	
}
